#ifndef RP2MODELMESH_H
#define RP2MODELMESH_H

#include "Rp2TriMesh.h"

namespace Rp2
{

class ModelGroup
{
public:
	std::string Name;
    int PosStart, TcdStart, NorStart;
	
};

class ModelInfo
{
public:
	int GroupQuantity;
	std::vector<ModelGroup> Groups;
};


class ModelMesh : public TriMesh
{
	RP2_DECLARE_RTTI;
	RP2_DECLARE_NAME_ID;
public:
	ModelMesh();
	ModelMesh(VertexBuffer* pkVB, IndexBuffer* pkIB,
		ModelInfo& kModelInfo);
	~ModelMesh();

private:
	// Segment information
	ModelInfo m_kModelInfo;
	
};
}

#endif